﻿<UserControl x:Class="Tinter.Wpf.Client.Modules.Membership.Views.LoginControl"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             BorderBrush="LightBlue" BorderThickness="1"
             Height="220" Width="450">
    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="*"/>
            <ColumnDefinition Width="3*"/>
        </Grid.ColumnDefinitions>
        <Image Grid.Column="0" HorizontalAlignment="Center" VerticalAlignment="Center" Source="pack://application:,,,/Resources/Images/login.png"/>
        <Grid Grid.Column="1" Margin="10,5" >
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="*"/>
                <ColumnDefinition Width="3*"/>
            </Grid.ColumnDefinitions>
            <Grid.RowDefinitions>
                <RowDefinition Height="*"/>
                <RowDefinition Height="*"/>
                <RowDefinition Height="2*"/>
                <RowDefinition Height="*"/>
                <RowDefinition Height=".8*"/>
            </Grid.RowDefinitions>
            <Label Grid.Column="0" Grid.Row="0" Content="_ID:" VerticalAlignment="Bottom" HorizontalAlignment="Right"/>
            <ComboBox Grid.Column="1" Grid.Row="0" IsEditable="True" VerticalAlignment="Bottom"/>
            <Label Grid.Column="0" Grid.Row="1" Content="_Password:" VerticalAlignment="Center" HorizontalAlignment="Right"/>
            <PasswordBox Grid.Column="1" Grid.Row="1" VerticalAlignment="Center"/>
            <StackPanel Grid.Row="2" Grid.Column="1" Orientation="Vertical">
                <TextBlock Margin="0,1"><Hyperlink>Forgot pasowrd?</Hyperlink></TextBlock>
                <CheckBox Name="rememberMe" Margin="0,1" Content="_Remember my ID and password"/>
                <CheckBox Margin="0,1" Content="Sign me in _automatically"/>
            </StackPanel>
            <StackPanel Grid.Row="3" Grid.Column="1" Orientation="Horizontal">
                <Button Grid.Column="0" Width="75" Height="23" Content="_Sign in" VerticalAlignment="Center" IsDefault="True"/>
                <Button Grid.Column="1" Width="75" Height="23" Margin="20,0" Content="_Cancel" VerticalAlignment="Center" IsCancel="True"/>
            </StackPanel>
            <TextBlock Grid.Row="4" Grid.Column="1" VerticalAlignment="Center">Don't have an ID? <Hyperlink>Sign up</Hyperlink></TextBlock>
        </Grid>

    </Grid>
</UserControl>
